import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;


@Data
@HeadRowHeight(value = 35)//表头行高
@ContentRowHeight(value = 25)//内容文本行高
@ColumnWidth(value = 35)//列的宽
public class WriteWeekPowerLineLossExcelDto implements Serializable {

    @ExcelProperty(value = {"Sheet1","ID"},order = 1)
    private String id;

    @ExcelProperty(value = {"Sheet1","TEMPLATE_NAME"},order = 2)
    private String templateName;

    @ExcelProperty(value = {"Sheet1","FSOWNER_ID"},order = 3)
    private String foswnerId;

    @ExcelProperty(value = {"Sheet1","ENTERPRISE_NAME"},order = 4)
    private String enterPriseName;

    @ExcelProperty(value = {"Sheet1","CTCODE"},order = 5)
    @ColumnWidth(value = 30)
    private String ctCode;

    @ColumnWidth(value = 30)
    @ExcelProperty(value = {"Sheet1","国标"},order = 6)
    private String gb;

    @ExcelProperty(value = {"Sheet1","CTVALUE3"},order = 7)
    private String ctvalue;

    @ExcelProperty(value = {"Sheet1","ADDRESS"},order = 8)
    private String address;

    @ExcelProperty(value = {"Sheet1","TYPE_CD"},order = 9)
    private String typeCd;

    @ExcelProperty(value = {"Sheet1","状态"},order = 10)
    private String status;

    @ExcelProperty(value = {"Sheet1","异常原因"},order = 11)
    private String errorMessage;

}


